package com.ruoyi.publish.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【鉴定报告审批】对象 task_approval
 *
 * @author confusefox
 * @date 2020-12-30
 */
public class TaskApproval extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 记录id
     */
    @Excel(name = "记录id")
    private Long taskRecordId;

    /**
     * 审核：1、复审：2、终审：3）
     */
    @Excel(name = "审核：1、复审：2、终审：3）")
    private Integer taskApprovalLevel;

    /**
     * （审核人员id）
     */
    @Excel(name = "", readConverterExp = "审核人员id")
    private String taskUserIds;

    /**
     * （审核状态、退回：1、待审核：3、通过：5）
     */
    @Excel(name = "", readConverterExp = "审核状态、退回：1、待审核：3、通过：5")
    private Integer taskStatus;

    /**
     * （已经审核的人员）
     */
    @Excel(name = "", readConverterExp = "已经审核的人员")
    private String taskHasUserIds;

    /**
     * （是否删除、0：使用、删除：1）
     */
    @Excel(name = "", readConverterExp = "是否删除、0：使用、删除：1")
    private Integer taskDelete;

    /**
     * 审批意见信息
     */
    private String approvalReason;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTaskRecordId(Long taskRecordId) {
        this.taskRecordId = taskRecordId;
    }

    public Long getTaskRecordId() {
        return taskRecordId;
    }

    public void setTaskApprovalLevel(Integer taskApprovalLevel) {
        this.taskApprovalLevel = taskApprovalLevel;
    }

    public Integer getTaskApprovalLevel() {
        return taskApprovalLevel;
    }

    public void setTaskUserIds(String taskUserIds) {
        this.taskUserIds = taskUserIds;
    }

    public String getTaskUserIds() {
        return taskUserIds;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskHasUserIds(String taskHasUserIds) {
        this.taskHasUserIds = taskHasUserIds;
    }

    public String getTaskHasUserIds() {
        return taskHasUserIds;
    }

    public void setTaskDelete(Integer taskDelete) {
        this.taskDelete = taskDelete;
    }

    public Integer getTaskDelete() {
        return taskDelete;
    }

    public void setApprovalReason(String approvalReason) {
        this.approvalReason = approvalReason;
    }

    public String getApprovalReason() {
        return this.approvalReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("taskRecordId", getTaskRecordId())
                .append("taskApprovalLevel", getTaskApprovalLevel())
                .append("taskUserIds", getTaskUserIds())
                .append("taskStatus", getTaskStatus())
                .append("taskHasUserIds", getTaskHasUserIds())
                .append("taskDelete", getTaskDelete())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("approvalReason", getApprovalReason())
                .toString();
    }
}
